<?php $options = get_option('eachBlue_options'); ?>
<?php if($options['google_cse'] && $options['google_cse_cx']) : ?>
<div id="searchbox">
	<form action="<?php bloginfo('home'); ?>/search" method="get">
		<input type="text" class="textfield  search-text" name="s" size="36" value="<?php echo wp_specialchars($s, 1); ?>" />
		<input type="hidden" name="cx" value="<?php echo $options['google_cse_cx']; ?>" />
		<input type="submit" id="topsearchsubmit" value="" class="search-button"/>
		<input type="hidden" name="cof" value="FORID:11" />
		<input type="hidden" name="ie" value="UTF-8" />
	</form>	
</div>
<?php else : ?>
<div id="searchbox">
	<form action="<?php bloginfo('home'); ?>" method="get">
		<input type="text" class="textfield  search-text" name="s" size="36" value="<?php echo wp_specialchars($s, 1); ?>" />
		<input type="submit" id="topsearchsubmit" value="" class="search-button"/>
	</form>	
</div>
<?php endif; ?>